package com.uwo.commons.ibatis.configuration;

import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * mybatis配置信息
 * @author hao.yan
 */
@Data
@RefreshScope
@Component
@ConfigurationProperties(prefix = "spring.ibatis")
public class MybatisProperties {


    private final Logger log = LoggerFactory.getLogger(MybatisProperties.class);

    // 信息配置
    private String typePackage;

    // mapper.xml配置
    private String mapperLocations;

}
